package com.imooc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.pojo.Industry;
import com.imooc.vo.TopIdAndThirdIndustryListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 行业表 Mapper 接口
 * </p>
 *
 * @author liansen
 * @since 2023-03-28
 */
public interface IndustryMapper extends BaseMapper<Industry> {

    List<Industry> selectThirdList(@Param("topId") String topId);

    String getTopIndustryIdByThirdIndustryId(@Param("id") String id);

    List<TopIdAndThirdIndustryListVO> getTopIdAndThirdList();
}
